package com.iwhalecloud.citybrain.flow.platform.manager.domain.model.app;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * @author lilh
 * @date 2019-01-23 13:29
 */
public class FlowAppUpdateVo {

    @NotNull
    private Integer id;

    @NotNull(message = "应用名称不能为空")
    @NotBlank(message = "应用名称不能为空")
    @Size(max = 20, message = "应用名称长度不能大于20")
    private String appName;

    private String appCode;

    private String description;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAppName() {
        return appName;
    }

    public void setAppName(String appName) {
        this.appName = appName;
    }

    public String getAppCode() {
        return appCode;
    }

    public void setAppCode(String appCode) {
        this.appCode = appCode;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
